'use strict';

var potatoShopApp = {};

var App = angular.module('potatoShopApp', ['ngRoute']);

// Declare app level module which depends on filters, and services
App.config(['$routeProvider', function ($routeProvider) {
    $routeProvider.when('/home', {
        templateUrl: 'home/layout',
        controller: HomeController
    });

    $routeProvider.otherwise({redirectTo: 'home'});
}]);
